package com.zjj.learn.javaplus.pkg01.demo14;

public class Cat extends Animal{
    public Cat(String name, String color, Double price) {
        super(name, color, price);
    }

    public void zhuaLaoShu(){
        System.out.println(super.getName() + "猫猫在抓老鼠");
    }

    @Override
    public void eat() {
        System.out.println(super.getName() + "猫在吃饭");
    }
}
